package com.hailong.zyt.beans;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hailong
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("homework_student")
public class HomeworkStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("hw_id")
    private Long hwId;

    @TableField("stu_id")
    private Long stuId;

    @TableField("hws_answer")
    private String hwsAnswer;

    @TableField("hws_mark")
    private Float hwsMark;

    @TableField("hws_comment")
    private String hwsComment;

    @TableField("hws_fileName")
    private String hwsFileName;

    @TableField("hws_state")
    private Integer hwsState; //0表示未批改，1表示已批该

    @TableField(exist = false)
    private Homework homework;

    @TableField(exist = false)
    private Student student;

}
